using System;
using System.Collections.Generic;
using System.Text;

namespace HREngine.Bots
{
	class Sim_DAL_605 : SimTemplate //* 小鬼狱火
	{
		// 你的恶魔+1攻击，对敌方随从打1.

        public override void onCardPlay(Playfield p, bool ownplay, Minion m, int choice)
        {
            List<Minion> temp = (m.own) ? p.ownMinions : p.enemyMinions;
            foreach (Minion mnn in temp)
            {
                if ((TAG_RACE)mnn.handcard.card.race == TAG_RACE.DEMON && mnn.entitiyID != m.entitiyID) p.minionGetBuffed(mnn, 1, 0);
            }
			int dmg = (ownplay) ? p.getSpellDamageDamage(1) : p.getEnemySpellDamageDamage(1);;
			p.allMinionOfASideGetDamage(!ownplay, dmg);
        }
    }
}